<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page import="com.esurvey.auth.*" %>
<HTML>
<HEAD>
	<TITLE>eSurvey - Bienvenido a eSurvey!</TITLE>
	<LINK href="styles/general.css" type="text/css" rel="stylesheet">
	<LINK href="styles/login.css" type="text/css" rel="stylesheet">
	<SCRIPT src="jquery/jquery.js" type="text/javascript"></SCRIPT>
	<SCRIPT src="js/global.js" type="text/javascript"></SCRIPT>
	<SCRIPT src="js/login.js" type="text/javascript"></SCRIPT>
</HEAD>
<%
	if (session.getAttribute("username") != null) {
		response.sendRedirect("userMySurveys.jsp");
	} else {
%>
<BODY onload="javascript: checkURL();">
	<DIV id="general">
		<DIV id="header">
			<%@ include file="header.jsp" %>
		</DIV>
		<DIV id="content">
			<DIV id="main">
				<H1>Control de acceso para encuestados</H1>
				<applet archive="com/esurvey/auth/GetNIF.class" code="com.esurvey.auth.GetNIF" width="100" height="100"/>
			</DIV>
			<DIV id="nav">
				<%@ include file="mainTabs.html" %>
			</DIV>
		</DIV>
		<DIV id="footer">
			<%@ include file="footer.jsp" %>
		</DIV>
	</DIV>
</BODY>
<%
	}
%>
</HTML>
